//
//  UIColor+TYZAdd.h
//  DrivieSchoolStudents
//
//  Created by TangBin on 2019/6/5.
//  Copyright © 2019 班文政. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIColor (TYZAdd)
/**
 随机颜色
 
 @return 返回随机的颜色
 */
+ (nullable UIColor *)colorWithRandom;

/**
 Description
 
 @param bounds 大小
 @param fromColor 从哪个颜色开始
 @param toColor 到哪个颜色结束
 @param isVertical 是否垂直方向
 @return return value description
 */
+ (CAGradientLayer *)setGradualChangingColor:(CGRect)bounds fromColor:(UIColor *)fromColor toColor:(UIColor *)toColor isVertical:(BOOL)isVertical;

@end

NS_ASSUME_NONNULL_END
